#include "Serialization.h"

string rcm_serial (struct ReqCtrlMsg& rcm)
{
	string binary((char*)&rcm, sizeof(struct ReqCtrlMsg));
	return binary;
}

string vcp_serial (struct VrConfPkt& vcp)
{
	int len = sizeof(struct VrConfPkt);
	string binary ((char*)&vcp, len);
	return binary;
}

